e.Toscana Compliance 
Request for Comments: 76 
Del: 12/7/2007 
Categoria: Applicativa
Destinatari: Regione Toscana, Estav,Fornitori di Estav

Dematerializzazione del ciclo dell'ordine:la fattura elettronica.-

Indice
------
1. Contesto di riferimento	
2. Obiettivi	
3. Analisi	
4. Prodotti attesi
5. Esempi di xml schema.
6. Bibliografia

1. Contesto di riferimento
--------------------------
Con la nascita degli Estav (Ente servizi tecnici e amministrativi di area vasta)
cambia il modello organizzativo della Regione Toscana nell'ambito
dell'erogazione dei servizi di tipo socio saniatrio; nel senso che tutti i
processi di servizio accessori allo svolgimento dell'attivit primaria vengono
concentrati in strutture organizzative complesse che li gestiscono e li
governano per un pool di aziende sanitarie territorialmente identificate.

Attualmente le aree vaste sono tre:
1.Estav Nord-Ovest (Lucca,Pisa,Livorno,Massa)
2.Estav Centro (Firenze,Prato,Pistoia)
3.Estav Sud-Est (Siena,Arezzo,Grosseto)

Il processo di dematerializzazione del ciclo dell'ordine a fornitore impatta
fortemente su queste strutture sia dal punto di vista organizzativo che
tecnologico. In particolare con la concentrazione di tutti i documenti generati dal ciclo dell'ordine presso
gli Estav diventa prioritario identifcare quelle soluzioni che garantiscono
facilit d'uso, rapidit di risultato, certezza e trasparenza nella gestione delle
informazioni relative ai flussi finanziari. Quindi occorre dematerializzare anche la gestione delle fatture emesse dai fornitori che vengono concentrate in tre
soggetti Estav che devono:

1. acquisire i documenti fattura emessi a fronte di forniture di prodotti
2. Verificare la correttezza dei documenti emessi
3. Disporre con l'ausilio dei servizi di tesoreria per i mandati di pagamento
4. Negoziare con le controparti particolari condizioni finanziarie in cambio di tempi di pagamento certi.
5. Monitorare in tempo reale il livello della spesa sanitaria regionale attraverso un sistema affidabile di statistiche.

Di particolare rilievo risulta la dematerializzazione dei documenti fattura (insieme a quella di ordini e Documenti di trasporto)
riferite ad acquisizione ed erogazione di prodotti farmaceutici alle aziende
distribuite sul territorio, che attualmente  a causa della gestione cartacea dei documenti stessi
costituisce una attivita a basso valore aggiunto.

E necessario dunque organizzare un percorso tecnologico che preveda la ricezione
da parte delle  Estav delle fatture tramite documenti elettronici strutturati inviati telematicamente dai diversi fornitori di prodotti farmaceutici con
la relativa presa in carico dei prodotti attraverso la ricezione telematica dei DDT.Quest'ultima attivit con il relativo
documento in linguaggio xml sar oggetto di una specifica RFC.

Tale percorso che,previa aggiunta della firma digitale e della marca temporale aprir la strada alla gestione di fatture elettroniche a norma di legge
con la relativa conservazione sostitutiva deve necessariamente prevedere l'utilizzazione
1. dei moduli applicativi attualmente in uso da parte degli Estav 
2. della infrastruttura di trasporto regionale-Cart-che garantisce, essendo un sistema
pubblico di connettivita, sicurezza, rapidita, certezza.

I fornitori delle ESTAV in collaborazione con la Regione Toscana intendono definire una serie di Messaggi di Business, in 
formato Elettronico, per agevolare lo scambio di informazioni tra gli attori della distribuzione in generale e, 
in questo caso specifico,con  gli attori della distribuzione farmaceutica,e le Estav stesse. 

Per la ricezione delle fatture strutturate dematerializzate  da parte delle Estav dai diversi fornitori,come descritto nella presente RFC, 
 stato scelto un tracciato in formato  XML, da utilizzare tramite Web Services. 
Il presente documento descrive il Messaggio definito con lo standard XML precisando il significato di tutti gli elementi(TAG) contenuti nel tracciato record. 
Il Messaggio  logicamente diviso in parti (composti a loro volta da segmenti): una parte di Testata, il Dettaglio e la 
parte di Sommario.

2. Obiettivi
------------
Nel contesto sopra indicato l'uso dell'infrastruttura di cooperazione
applicativa consente agli Estav, che sono dotati di un sistema informativo che
tratta i moduli relativi alla ricezione delle fatture in linguaggio xml inviate telematicamente  dai fornitori, di ricevere il
contenuto informativo delle fatture dai diversi fornitori di prodotti farmaceutici
attraverso l'uso del CART.

I benefici attesi sono:

per gli Estav: 

1. ingegnerizzare la gestione della fattura fornitore con conseguente eliminazione
di attivit manuali e di sistemi cartacei che non consentono certezza rapidit e condivisione
di informazione 

2. il rafforzamento dell'attivit di condivisione fra gli Estav del sistema di anagrafiche relative 
   ai prodotti farmaceutici e a tutti gli altri prodotti acquistati anche mediante la ricezione di un flusso di dati presenti in fattura
   che possano comprendere il codice aic per i farmaci e il codice Farmadati per tutti gli altri prodotti

per la Regione:

1. completare il flusso informativo sui fabbisogni e sui flussi finanziari generati dall'acquisto dei farmaci e dispositivi medici dai fornitori 
2. riduzione degli errori di gestione delle fatture,
3. miglioramento dell efficacia e dell efficienza nell attivita di acquisizione delle fatture e nelle procedure di liquidazione e di pagamento




3. Analisi. 
-----------------------
Da una breve analisi risulta che gli unici attori che devono cooperare sono
la Regione Toscana e le azienda Farmaceutiche. 
Regione Toscana: Soggetto che riceve la fattura dalle aziende Farmaceutiche
Farmaceutiche: Soggetto che invia la fattura alla regione Toscana.

Lo scambio di messaggi tramite Regione Toscana e Azienda Farmaceutiche avviene
nel seguente modo:

Regione Toscana                       Azienda Farmaceutiche
                 <----- INVOIC ------
                 ------ SENDLOG ---->
                 ------ DOCACK ----->

dove:

INVOIC	: Fattura
SENDLOG : Report di trasmissione, indica l'avvenuta trasmissione della fattura
DOCACK  : Notifica Ricezione, indica l'avvenuta ricezione della fattura


3.1. Formato documento INVOIC - "Fattura"
-----------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by Marco Molino (GXS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="INVOICMessage" type="INVOICMessage">
		<xs:annotation>
			<xs:documentation source="Description">Invoice</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="INVOICMessage">
		<xs:annotation>
			<xs:documentation source="Description">Invoice</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="MessageHeader" type="MessageHeader">
				<xs:annotation>
					<xs:documentation source="Description">Message Header</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Document" type="INVOICDocument">
				<xs:annotation>
					<xs:documentation source="Description">Document</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MessageFooter" type="MessageFooter">
				<xs:annotation>
					<xs:documentation source="Description">Message Footer</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageHeader">
		<xs:annotation>
			<xs:documentation source="EasyReference">DAH</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="AddressFrom">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAH.003</xs:documentation>
					<xs:documentation source="Description">Sender mailbox address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="16"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AddressTo">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAH.004</xs:documentation>
					<xs:documentation source="Description">Receiver mailbox address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="16"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentType">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAH.001</xs:documentation>
					<xs:documentation source="Description">Document name</xs:documentation>
					<xs:documentation source="FixedValue">FATTUR</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentTypeVersion">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAH.002</xs:documentation>
					<xs:documentation source="Description">Document version</xs:documentation>
					<xs:documentation source="FixedValue">02</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentID">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAH.006</xs:documentation>
					<xs:documentation source="Description">Document number</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentIDVersion">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAH.009</xs:documentation>
					<xs:documentation source="Description">Transmission reference</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="14"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CreateDate" type="xs:date">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAH.005</xs:documentation>
					<xs:documentation source="Description">File creation date</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageFooter">
		<xs:annotation>
			<xs:documentation source="EasyReference">DAT</xs:documentation>
			<xs:documentation source="Description">Message Footer</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DocumentID">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAT.006</xs:documentation>
					<xs:documentation source="Description">Document Number
Same value reported in INVOICMessage/MessageHeader/DocumentID</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentCheck">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAT.007</xs:documentation>
					<xs:documentation source="Description">Checksum</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICDocument">
		<xs:annotation>
			<xs:documentation source="EasyReference">NDM</xs:documentation>
			<xs:documentation source="Description">Document</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DocumentStatus" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NDM.102</xs:documentation>
					<xs:documentation source="Description">Document Status:
8 - test
9 - originale
31 - copia</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentDate" type="xs:date">
				<xs:annotation>
					<xs:documentation source="EasyReference">NDM.103</xs:documentation>
					<xs:documentation source="Description">Document Date</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DocumentTypeLevel1">
				<xs:annotation>
					<xs:documentation source="EasyReference">NDM.121</xs:documentation>
					<xs:documentation source="Description">Document Type Level 1
0 - Invoice
1 - Credit note
2 - Debit note					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentTypeLevel2">
				<xs:annotation>
					<xs:documentation source="EasyReference">NDM.121</xs:documentation>
					<xs:documentation source="Description">Document Type Level 2:
0 - Blamk
1 - Cessione gratuita
2 - Reso</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Flag3" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NDM.121</xs:documentation>
					<xs:documentation source="Description">Flag</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Currency">
				<xs:annotation>
					<xs:documentation source="EasyReference">NDM.611</xs:documentation>
					<xs:documentation source="Description">Currency
EUR - Euro					</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText" type="INVOICFreeText" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation source="EasyReference">TLI</xs:documentation>
					<xs:documentation source="Description">Free Text</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DocumentReference" type="INVOICDocumentReference" maxOccurs="20">
				<xs:annotation>
					<xs:documentation source="EasyReference">RAD</xs:documentation>
					<xs:documentation source="Description">Document Reference</xs:documentation>
					<xs:documentation source="FixedValue">DocumentType:
AAK - Bolla
ON - Ordine Cliente
IV - Fattura</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PartnerCode" type="INVOICPartnerCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">COP</xs:documentation>
					<xs:documentation source="Description">Partner Codes
(1) Partita IVA
(2) Codice proprietario assegnato dal mittente
</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SupplierNameAddress" type="INVOICSupplierNameAddress">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID</xs:documentation>
					<xs:documentation source="Description">Supplier Name and Address</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="CustomerNameAddress" type="INVOICCustomerNameAddress">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID</xs:documentation>
					<xs:documentation source="Description">Customer Name and Address</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="GoodsDestinationNameAddress" type="INVOICNameAddress">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID</xs:documentation>
					<xs:documentation source="Description">Goods Destination Name and Address</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
CN - Destinazione merce</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IssuerNameAddress" type="INVOICNameAddress" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID</xs:documentation>
					<xs:documentation source="Description">Issuer Name and Address</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
II - Emittente fattura</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="InvoiceDestinationNameAddress" type="INVOICNameAddress" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID</xs:documentation>
					<xs:documentation source="Description">Invoice Destination Name and Address</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
DO - Document receiver</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PaymentCondition" type="INVOICPaymentCondition">
				<xs:annotation>
					<xs:documentation source="EasyReference">TPA</xs:documentation>
					<xs:documentation source="Description">Payment Condition</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TransportCondition" type="INVOICTransportCondition" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TRA</xs:documentation>
					<xs:documentation source="Description">Transport Info</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DebitCreditInfo" type="INVOICDebitCreditInfo" minOccurs="0" maxOccurs="10">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA</xs:documentation>
					<xs:documentation source="Description">Debit Credit Info</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Detail" type="INVOICDetail">
				<xs:annotation>
					<xs:documentation source="EasyReference">DRI</xs:documentation>
					<xs:documentation source="Description">Detail</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EndOfSection">
				<xs:annotation>
					<xs:documentation source="EasyReference">DAS</xs:documentation>
					<xs:documentation source="Description">End Of Section</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Amount" type="INVOICAmount">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP</xs:documentation>
					<xs:documentation source="Description">Amounts</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Tax" type="INVOICTax" maxOccurs="10">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS</xs:documentation>
					<xs:documentation source="Description">Tax</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICFreeText">
		<xs:annotation>
			<xs:documentation source="EasyReference">TLI</xs:documentation>
			<xs:documentation source="Description">Free Text</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="RecordNumber" type="xs:integer" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TLI.104</xs:documentation>
					<xs:documentation source="Description">Record Number, starting from 01</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FreeText1">
				<xs:annotation>
					<xs:documentation source="EasyReference">TLI.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TLI.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText3" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TLI.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText4" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TLI.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText5" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TLI.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICPartnerCode">
		<xs:annotation>
			<xs:documentation source="EasyReference">COP</xs:documentation>
			<xs:documentation source="Description">Partner Codes
(1) Partita IVA
(2) Codice proprietario assegnato dal mittente
</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CustomerID">
				<xs:annotation>
					<xs:documentation source="EasyReference">COP.302</xs:documentation>
					<xs:documentation source="Description">Customer ID (1)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="SupplierID">
				<xs:annotation>
					<xs:documentation source="EasyReference">COP.302</xs:documentation>
					<xs:documentation source="Description">Supplier ID (1)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="GoodsDestinationID">
				<xs:annotation>
					<xs:documentation source="EasyReference">COP.302</xs:documentation>
					<xs:documentation source="Description">Goods Destination ID (2)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICPaymentCondition">
		<xs:annotation>
			<xs:documentation source="EasyReference">TPA</xs:documentation>
			<xs:documentation source="Description">Payment Condition</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ID" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TPA.120</xs:documentation>
					<xs:documentation source="Description">ID, see table 120</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Qualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TPA.132</xs:documentation>
					<xs:documentation source="Description">Qualifier</xs:documentation>
					<xs:documentation source="FixedValue">Termini di pagamento:
1 - Non strutturata
25 - Fine mese data fattura
29 - Fine mese ricevimento data fattura
35 - Data fattura
39 - Data ricevimento fattura
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Days" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TPA.512</xs:documentation>
					<xs:documentation source="Description">Days, if Qualifier != 1 this info is mandatory</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="3"/>
						<xs:fractionDigits value="0"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DueDate" type="xs:date" nillable="true" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TPA.103</xs:documentation>
					<xs:documentation source="Description">Payment due date</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Description1" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TPA.135</xs:documentation>
					<xs:documentation source="Description">Description</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Description2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TPA.135</xs:documentation>
					<xs:documentation source="Description">Description</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICDebitCreditInfo">
		<xs:annotation>
			<xs:documentation source="EasyReference">IAA</xs:documentation>
			<xs:documentation source="Description">Debit Credit Info</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.500</xs:documentation>
					<xs:documentation source="Description">Qualifier</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
D - Debit
C - Credit</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AmountQualifier" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.501</xs:documentation>
					<xs:documentation source="Description">Amount Qualifier, see table 501</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.502</xs:documentation>
					<xs:documentation source="Description">Amount</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Percentage" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.503</xs:documentation>
					<xs:documentation source="Description">Percentage</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="6"/>
						<xs:fractionDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DebitCreditDescription">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.135</xs:documentation>
					<xs:documentation source="Description">Description</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="VATPercentage">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.530</xs:documentation>
					<xs:documentation source="Description">VAT Percentage, aliquota IVA</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="7"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TaxableAmount" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.502</xs:documentation>
					<xs:documentation source="Description">Taxable Amount</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TotalTaxAmount" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.502</xs:documentation>
					<xs:documentation source="Description">Total Tax Amount</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="TaxExemption" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.135</xs:documentation>
					<xs:documentation source="Description">Tax Exemption</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICDebitCreditAmountInfo">
		<xs:annotation>
			<xs:documentation source="EasyReference">IAA</xs:documentation>
			<xs:documentation source="Description">Item Debit Credit Amount Info</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.500</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
22 - Sconto
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AmountQualifier" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.501</xs:documentation>
					<xs:documentation source="Description">Amount Qualifier</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.502</xs:documentation>
					<xs:documentation source="Description">Amount</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Percentage" default="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IAA.503</xs:documentation>
					<xs:documentation source="Description">Percentage</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="6"/>
						<xs:fractionDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICDetail">
		<xs:annotation>
			<xs:documentation source="EasyReference">DRI</xs:documentation>
			<xs:documentation source="Description">Detail</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Item" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation source="EasyReference">DRI</xs:documentation>
					<xs:documentation source="Description">Detail</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ID" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.131</xs:documentation>
								<xs:documentation source="Description">Row number</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="0"/>
									<xs:maxLength value="6"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="ProductID">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.700</xs:documentation>
								<xs:documentation source="Description">Product ID</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="1"/>
									<xs:maxLength value="35"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="ProductQualifier">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.132</xs:documentation>
								<xs:documentation source="Description">Product Qualifier
ZZZ - Ministero Sanità
FD - Farmadati
CC - Codifa
FF - Federfarma
EN - EAN
SA - Codice fornitore
I codici sono da usarsi in sequenza, ovvero è obbligatorio usare il codice ZZZ, se esiste. In caso contrario si passa al codice successivo CC, e così via.
</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="1"/>
									<xs:maxLength value="3"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="NoteReference" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.702</xs:documentation>
								<xs:documentation source="Description">Note Reference</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="0"/>
									<xs:maxLength value="4"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="ItemReference" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.703</xs:documentation>
								<xs:documentation source="Description">Item Reference</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="0"/>
									<xs:maxLength value="4"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="ProductDescription" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.705</xs:documentation>
								<xs:documentation source="Description">Product Description</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="0"/>
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="QtyQualifier">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.604</xs:documentation>
								<xs:documentation source="Description">Quantity Qualifier, da valorizzare solo in caso
di sconto oppure omaggio
DIS - Sconto
192 - Omaggio</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="0"/>
									<xs:maxLength value="3"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Qty" default="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.605</xs:documentation>
								<xs:documentation source="Description">Quantity</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:decimal">
									<xs:totalDigits value="15"/>
									<xs:fractionDigits value="3"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="UmID" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">DRI.602</xs:documentation>
								<xs:documentation source="Description">Unit of measure, see table 602</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="0"/>
									<xs:maxLength value="3"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="ItemAmount" type="INVOICItemAmount" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">IMP</xs:documentation>
								<xs:documentation source="Description">Item Amount</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ItemPrice" type="INVOICItemPrice" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">PRE</xs:documentation>
								<xs:documentation source="Description">Item Price</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ItemTax" type="INVOICItemTax">
							<xs:annotation>
								<xs:documentation source="EasyReference">TAS</xs:documentation>
								<xs:documentation source="Description">Tax</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ItemDebitCreditAmountInfo" type="INVOICDebitCreditAmountInfo" minOccurs="0" maxOccurs="3">
							<xs:annotation>
								<xs:documentation source="EasyReference">IAA</xs:documentation>
								<xs:documentation source="Description">Item Debit Credit Amount Info</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ItemDocumentReference" type="INVOICDocumentReference" minOccurs="0">
							<xs:annotation>
								<xs:documentation source="EasyReference">RAD</xs:documentation>
								<xs:documentation source="Description">Document Reference</xs:documentation>
								<xs:documentation source="FixedValue">DocumentType:
VV - buono acquisto</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICItemPrice">
		<xs:annotation>
			<xs:documentation source="EasyReference">PRE</xs:documentation>
			<xs:documentation source="Description">Item Price</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="PriceNet" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">PRE.521</xs:documentation>
					<xs:documentation source="Description">Net Price</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="PriceGross" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">PRE.521</xs:documentation>
					<xs:documentation source="Description">Gross Price</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICItemTax">
		<xs:annotation>
			<xs:documentation source="EasyReference">TAS</xs:documentation>
			<xs:documentation source="Description">Item Tax</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="VATPercentage">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.530</xs:documentation>
					<xs:documentation source="Description">VAT Percentage</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="7"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AmountNet" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.502</xs:documentation>
					<xs:documentation source="Description">Taxable Income</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AmountTax" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.502</xs:documentation>
					<xs:documentation source="Description">Tax Amount</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Description" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.135</xs:documentation>
					<xs:documentation source="Description">Description of tax exemption</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICTax">
		<xs:annotation>
			<xs:documentation source="EasyReference">TAS</xs:documentation>
			<xs:documentation source="Description">Tax</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="VATPercentage">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.530</xs:documentation>
					<xs:documentation source="Description">VAT Percentage</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="7"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AmountNet" default="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.502</xs:documentation>
					<xs:documentation source="Description">Taxable Income</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AmountTax" default="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.502</xs:documentation>
					<xs:documentation source="Description">Tax Amount</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Description" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">TAS.135</xs:documentation>
					<xs:documentation source="Description">Description</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICSupplierFiscalData">
		<xs:annotation>
			<xs:documentation source="EasyReference">DFC</xs:documentation>
			<xs:documentation source="Description">Supplier Fiscal Data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="VATCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC.133</xs:documentation>
					<xs:documentation source="Description">VAT Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FiscalCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC.133</xs:documentation>
					<xs:documentation source="Description">Fiscal Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CompanyCapital">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC.133</xs:documentation>
					<xs:documentation source="Description">Company's capital - Capitale Sociale
CAP. SOC. EURO importo I.V.
Esempio: se il capitale sociale è di 50.000 Euro,  questo campo deve essere scritto come: CAP. SOC. EURO 50.000  I.V.
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CompanyRegistrationN">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC.133</xs:documentation>
					<xs:documentation source="Description">Company registration number - Num. Reg. Imprese
REG. IMP. città N. numero
Esempio: se la Società è stata registrata a Milano con numero 12345, questo campo sarà scritto come: REG. IMP. Milano N. 12345
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICFiscalPrintData">
		<xs:annotation>
			<xs:documentation source="EasyReference">DFS</xs:documentation>
			<xs:documentation source="Description">Holding Fiscal Print Data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="FreeText1">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFS.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFS.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText3" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFS.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText4" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFS.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FreeText5" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFS.105</xs:documentation>
					<xs:documentation source="Description">Text</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICFiscalData">
		<xs:annotation>
			<xs:documentation source="EasyReference">DFC</xs:documentation>
			<xs:documentation source="Description">Fiscal Data</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="VATCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC.133</xs:documentation>
					<xs:documentation source="Description">VAT Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FiscalCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC.133</xs:documentation>
					<xs:documentation source="Description">Fiscal Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICDocumentReference">
		<xs:annotation>
			<xs:documentation source="EasyReference">RAD</xs:documentation>
			<xs:documentation source="Description">Document Reference</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DocumentType">
				<xs:annotation>
					<xs:documentation source="EasyReference">RAD.130</xs:documentation>
					<xs:documentation source="Description">Document Type:
VV - Buono acquisto
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentDate" type="xs:date">
				<xs:annotation>
					<xs:documentation source="EasyReference">RAD.103</xs:documentation>
					<xs:documentation source="Description">Document Date</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DocumentNumber">
				<xs:annotation>
					<xs:documentation source="EasyReference">RAD.101</xs:documentation>
					<xs:documentation source="Description">Document Number</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICItemAmount">
		<xs:annotation>
			<xs:documentation source="EasyReference">IMP</xs:documentation>
			<xs:documentation source="Description">Item Amount</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Amount1" default="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Taxable Income</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount2" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Taxable Income without Discount</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICAmount">
		<xs:annotation>
			<xs:documentation source="EasyReference">IMP</xs:documentation>
			<xs:documentation source="Description">Amount
(1) Importo nella valuta espressa nel record VAL
(2) Non necessario se la fattura 柩n Euro
</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Amount1" default="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Taxable Income (1)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount2" default="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Tax Amount (1)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount3" default="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Taxable Income + Tax Amount (1)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount4" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Amount of discount goods (1)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount5" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Amount of free goods (1)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Amount6" default="0" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">IMP.502</xs:documentation>
					<xs:documentation source="Description">Taxable Income + Tax Amount in Euro (2)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="18"/>
						<xs:fractionDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICSupplierNameAddress">
		<xs:annotation>
			<xs:documentation source="EasyReference">NID</xs:documentation>
			<xs:documentation source="Description">Supplier Name Address</xs:documentation>
		</xs:annotation>
		<xs:sequence minOccurs="0">
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.301</xs:documentation>
					<xs:documentation source="Description">Qualifier</xs:documentation>
					<xs:documentation source="FixedValue">SU - Fornitore</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Name">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.303</xs:documentation>
					<xs:documentation source="Description">Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Name2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.303</xs:documentation>
					<xs:documentation source="Description">Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Address">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.304</xs:documentation>
					<xs:documentation source="Description">Address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Address2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.304</xs:documentation>
					<xs:documentation source="Description">Address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="City">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.305</xs:documentation>
					<xs:documentation source="Description">City</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Province">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.306</xs:documentation>
					<xs:documentation source="Description">Province</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ZIPCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.307</xs:documentation>
					<xs:documentation source="Description">ZIP Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CountryCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.308</xs:documentation>
					<xs:documentation source="Description">Country Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="SupplierFiscalData" type="INVOICSupplierFiscalData">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC</xs:documentation>
					<xs:documentation source="Description">Supplier Fiscal Data</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="HoldingFiscalPrintData" type="INVOICFiscalPrintData" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFS</xs:documentation>
					<xs:documentation source="Description">Holding Fiscal Print Data</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
HD = Holding</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BankReference" type="INVOICBankReference" maxOccurs="5">
				<xs:annotation>
					<xs:documentation source="EasyReference">RBA</xs:documentation>
					<xs:documentation source="Description">Bank Reference</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICCustomerNameAddress">
		<xs:annotation>
			<xs:documentation source="EasyReference">NID</xs:documentation>
			<xs:documentation source="Description">Customer Name Address</xs:documentation>
		</xs:annotation>
		<xs:sequence minOccurs="0">
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.301</xs:documentation>
					<xs:documentation source="Description">Qualifier</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
IV - Committente fattura					
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Name">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.303</xs:documentation>
					<xs:documentation source="Description">Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Name2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.303</xs:documentation>
					<xs:documentation source="Description">Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Address">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.304</xs:documentation>
					<xs:documentation source="Description">Address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Address2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.304</xs:documentation>
					<xs:documentation source="Description">Address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="City">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.305</xs:documentation>
					<xs:documentation source="Description">City</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Province">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.306</xs:documentation>
					<xs:documentation source="Description">Province</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ZIPCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.307</xs:documentation>
					<xs:documentation source="Description">ZIP Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CountryCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.308</xs:documentation>
					<xs:documentation source="Description">Country Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="FiscalData" type="INVOICFiscalData">
				<xs:annotation>
					<xs:documentation source="EasyReference">DFC</xs:documentation>
					<xs:documentation source="Description">Fiscal Data</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="BankReference" type="INVOICBankReference" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">RBA</xs:documentation>
					<xs:documentation source="Description">Bank Reference</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICNameAddress">
		<xs:annotation>
			<xs:documentation source="EasyReference">NID</xs:documentation>
			<xs:documentation source="Description">Name and Address</xs:documentation>
		</xs:annotation>
		<xs:sequence minOccurs="0">
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.301</xs:documentation>
					<xs:documentation source="Description">Qualifier</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Name">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.303</xs:documentation>
					<xs:documentation source="Description">Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Name2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.303</xs:documentation>
					<xs:documentation source="Description">Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Address">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.304</xs:documentation>
					<xs:documentation source="Description">Address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Address2" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.304</xs:documentation>
					<xs:documentation source="Description">Address</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="City">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.305</xs:documentation>
					<xs:documentation source="Description">City</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Province">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.306</xs:documentation>
					<xs:documentation source="Description">Province</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="ZIPCode">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.307</xs:documentation>
					<xs:documentation source="Description">ZIP Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CountryCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">NID.308</xs:documentation>
					<xs:documentation source="Description">Country Code</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICBankReference">
		<xs:annotation>
			<xs:documentation source="EasyReference">RBA</xs:documentation>
			<xs:documentation source="Description">Bank Reference</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Qualifier">
				<xs:annotation>
					<xs:documentation source="EasyReference">RBA.301</xs:documentation>
					<xs:documentation source="Description">Qualifier</xs:documentation>
					<xs:documentation source="FixedValue">Qualifier:
SU - Fornitore
</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="IBAN">
				<xs:annotation>
					<xs:documentation source="EasyReference">RBA.310</xs:documentation>
					<xs:documentation source="Description">CC Number</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Description" minOccurs="0">
				<xs:annotation>
					<xs:documentation source="EasyReference">RBA.136</xs:documentation>
					<xs:documentation source="Description">Bank Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="INVOICTransportCondition">
		<xs:annotation>
			<xs:documentation source="EasyReference">TRA</xs:documentation>
			<xs:documentation source="Description">Transport Condition</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ID">
				<xs:annotation>
					<xs:documentation source="EasyReference">TRA.410</xs:documentation>
					<xs:documentation source="Description">Transport Condition Code, see table 410</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>



Tabella 120 - Strumenti di pagamento

ID 		Description
--------------------------------------------------
10		In contanti
20		Assegno Bancario
21		Tratta
23		Assegno Circolare
25		Certified cheque
30		Bonifico
42		Pagamento su C/C
50		Pagamento a mezzo CCP
CC		Contrassegno circolare
CA		Contrassegno
A		Pagamento anticipato
D		Rimessa diretta
E		RID
R		Riba Elettronica
G		Factoring



Tabella 501 -  - Qualificatore Importo

ID 		Description
--------------------------------------------------
21		Sconto Cassa
47		Costi Spedizione
52		Sconto
106		CONTRIBUTO CONAI
160		Costi Accessori
161		Costi di bollo
304		Altri Costi
ZZZ		Costi Bancari



Tabella 410 - Termini di resa

ID 		Description
--------------------------------------------------
A 		Porto Assegnato
CAF		Cost and freight to destination
CAI		Cost and insurance to named destination
CFR   	CFR - Costo a nolo              
CIF		CIF-Costo,Assicurazione,Nolo
CIP		CIP-Nolo/Porto/Ass.Pag.fino a.
CPT		CPT-Nolo/Porto pagato fino a.   
DAF		DAF-Reso Frontiera
DCP		Freight, carriage paid to destination
DDP		DDP-Reso Sdoganato
DDU		DDU-Reso non sdoganato          
DEQ 	DEQ-Reso franco banchina        
DES		DES-Reso franco bordo a dest.      
EXQ		EXQ-Reso banchina
EXS		Ex ship - named port of destination
FAS		FAS-Franco sotto bordo 
EXW		EXW-Franco fabbrica
FCA		FCA-Franco vettore
FCI		Freight carriage and insurance paid to
FCP		Freight carriage and paid to
FCT		Freight carriage and insurance paid to
FOA		FOA-FOB aeroporto
FOB		FOB-Franco a bordo
FOR		FOR-Franco vagone
FOS		Free on board stowed named port of shipment
FOT		Free on truck-named departure point
FPC		Free in pipeline connection named place
FRC		FRC-Franco vettore                 
F		Porto Franco



Tabella 602 - Unit di misura

ID 		Description
--------------------------------------------------
CMQ		Centimentri Cubi
DLT		Decilitri
KGM		Chilogrammi
PCE		Pezzi
LTR		Litri


3.2. Formato documento SENDLOG - "Report di trasmissione"
---------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Marco Molino (GXS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="SendLogMessage" type="SendLogMessage">
		<xs:annotation>
			<xs:documentation>Send Log</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="SendLogMessage">
		<xs:annotation>
			<xs:documentation>Send Log</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="MessageHeader" type="MessageHeader"/>
			<xs:element name="Document" type="SendLogDocument"/>
			<xs:element name="MessageFooter" type="MessageFooter"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageHeader">
		<xs:annotation>
			<xs:documentation>DAH</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="AddressFrom">
				<xs:annotation>
					<xs:documentation>DAH.003</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="16"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AddressTo">
				<xs:annotation>
					<xs:documentation>DAH.004</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="16"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentType">
				<xs:annotation>
					<xs:documentation>DAH.001</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentTypeVersion">
				<xs:annotation>
					<xs:documentation>DAH.002</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentID">
				<xs:annotation>
					<xs:documentation>DAH.006</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentIDVersion">
				<xs:annotation>
					<xs:documentation>DAH.009</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="14"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CreateDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>DAH.005</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageFooter">
		<xs:annotation>
			<xs:documentation>DAT</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DocumentID">
				<xs:annotation>
					<xs:documentation>DAT.006</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentCheck">
				<xs:annotation>
					<xs:documentation>DAT.007</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:positiveInteger">
						<xs:minInclusive value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SendLogDocument">
		<xs:annotation>
			<xs:documentation>Send Log Document</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="InputFilename">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="200"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Detail" type="SendLogDetail"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SendLogDetail">
		<xs:annotation>
			<xs:documentation>Send Log Detail - Risultato dell'elaborazione di un singolo documento</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Item" maxOccurs="unbounded">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ReferenceDocumentID">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="0"/>
									<xs:maxLength value="35"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="ReferenceDocumentType">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="1"/>
									<xs:maxLength value="6"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Status" type="xs:long"/>
						<xs:element name="Error" type="SendLogDetailError" minOccurs="0" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SendLogDetailError">
		<xs:annotation>
			<xs:documentation>Send Log Detail Error</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Type">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="RowNumber" type="xs:long"/>
			<xs:element name="Description">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0"/>
						<xs:maxLength value="200"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>


3.3. Formato documento DOCACK - "Notifica Ricezione"
----------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by Marco Molino (GXS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="DocAckMessage" type="DocAckMessage">
		<xs:annotation>
			<xs:documentation>Doc Ack</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="DocAckMessage">
		<xs:annotation>
			<xs:documentation>Doc Ack</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="MessageHeader" type="MessageHeader"/>
			<xs:element name="Document" type="Document"/>
			<xs:element name="MessageFooter" type="MessageFooter"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageHeader">
		<xs:annotation>
			<xs:documentation>DAH</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="AddressFrom">
				<xs:annotation>
					<xs:documentation>DAH.003</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="16"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="AddressTo">
				<xs:annotation>
					<xs:documentation>DAH.004</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="16"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentType">
				<xs:annotation>
					<xs:documentation>DAH.001</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentTypeVersion">
				<xs:annotation>
					<xs:documentation>DAH.002</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentID">
				<xs:annotation>
					<xs:documentation>DAH.006</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentIDVersion">
				<xs:annotation>
					<xs:documentation>DAH.009</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="14"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CreateDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>DAH.005</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="MessageFooter">
		<xs:annotation>
			<xs:documentation>DAT</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="DocumentID">
				<xs:annotation>
					<xs:documentation>DAT.006</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="DocumentCheck">
				<xs:annotation>
					<xs:documentation>DAT.007</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:positiveInteger">
						<xs:minInclusive value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="Document">
		<xs:annotation>
			<xs:documentation>Document</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="ID" type="xs:long"/>
			<xs:element name="FromName" type="xs:string"/>
			<xs:element name="FromEDIAddress" type="xs:string"/>
			<xs:element name="ToName" type="xs:string"/>
			<xs:element name="ToEDIAddress" type="xs:string"/>
			<xs:element name="DocumentID" type="xs:long"/>
			<xs:element name="DocumentSNRF" type="xs:string"/>
			<xs:element name="DocumentAppName" type="xs:string"/>
			<xs:element name="DocumentEDIName" type="xs:string"/>
			<xs:element name="SendDateTime" type="xs:dateTime"/>
			<xs:element name="RereiveDateTime" type="xs:dateTime"/>
			<xs:element name="Status" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>


4. Prodotti attesi
------------------
La dematerializzazione della gestione del secondo dei tre pi importanti documenti generati nella
produzione del ciclo dell'ordine cio della della fattura strutturata in linguaggi xml inviata telamaticamente quale seconda tappa nel processo generale di demateriaizzazione del ciclo dell ordine
per l'acquisto di prodotti farmaceutici che attualmente a causa della 
gestione cartacea  genera attivita a basso valore
aggiunto.La creazione delle premesse organizzative e tecnologiche per il passaggio alla gestione di fatture elettroniche a norma di legge con conseguente conservazione sostitutiva.

5. Esempi di xml
------------------

Fattura

<?xml version="1.0" encoding="UTF-8"?>
<INVOICMessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<MessageHeader>
		<AddressFrom>TESTCMWEB01</AddressFrom>
		<AddressTo>TESTWSWEB01</AddressTo>
		<DocumentType>FATTUR</DocumentType>
		<DocumentTypeVersion>02</DocumentTypeVersion>
		<DocumentID>700000012</DocumentID>
		<DocumentIDVersion>700000012</DocumentIDVersion>
		<CreateDate>2007-03-13</CreateDate>
	</MessageHeader>
	<Document>
		<DocumentStatus>9</DocumentStatus>
		<DocumentDate>2007-03-01</DocumentDate>
		<DocumentTypeLevel1>0</DocumentTypeLevel1>
		<DocumentTypeLevel2>1</DocumentTypeLevel2>
		<Flag3></Flag3>
		<Currency>EUR</Currency>
		<DocumentReference>
			<DocumentType>AAK</DocumentType>
			<DocumentDate>2007-02-27</DocumentDate>
			<DocumentNumber>68024557.0</DocumentNumber>
		</DocumentReference>
		<DocumentReference>
			<DocumentType>AAK</DocumentType>
			<DocumentDate>2007-02-27</DocumentDate>
			<DocumentNumber>68024557.1</DocumentNumber>
		</DocumentReference>
		<DocumentReference>
			<DocumentType>IV</DocumentType>
			<DocumentDate>2007-02-27</DocumentDate>
			<DocumentNumber>22871025.0</DocumentNumber>
		</DocumentReference>
		<DocumentReference>
			<DocumentType>IV</DocumentType>
			<DocumentDate>2007-02-27</DocumentDate>
			<DocumentNumber>22871025.1</DocumentNumber>
		</DocumentReference>
		<DocumentReference>
			<DocumentType>IV</DocumentType>
			<DocumentDate>2007-02-27</DocumentDate>
			<DocumentNumber>22871025.2</DocumentNumber>
		</DocumentReference>
		<PartnerCode>
			<CustomerID>000319</CustomerID>
			<SupplierID>5410839000013</SupplierID>
			<GoodsDestinationID>000319</GoodsDestinationID>
		</PartnerCode>
		<SupplierNameAddress>
			<Qualifier>SU</Qualifier>
			<Name>BAXTER S.P.A.</Name>
			<Name2>pippo</Name2>
			<Address>VIA COCCHI 7/9</Address>
			<Address2>LOC. OSPEDALETTO</Address2>
			<City>Milano</City>
			<Province>MI</Province>
			<ZIPCode>561</ZIPCode>
			<CountryCode>IT</CountryCode>
			<SupplierFiscalData>
				<VATCode>0001</VATCode>
				<FiscalCode>IT00907371009</FiscalCode>
				<CompanyCapital>CAP.SOC. EURO  80.000 I.V.</CompanyCapital>
				<CompanyRegistrationN>0002</CompanyRegistrationN>
			</SupplierFiscalData>
			<HoldingFiscalPrintData>
				<FreeText1>Societa controllata da me</FreeText1>
			</HoldingFiscalPrintData>
			<BankReference>
				<Qualifier>SU</Qualifier>
				<IBAN>IBAN1234567890</IBAN>
				<Description></Description>
			</BankReference>
		</SupplierNameAddress>
		<CustomerNameAddress>
			<Qualifier>IV</Qualifier>
			<Name>COMIFAR DISTRIBUZIONE S.P.A.</Name>
			<Name2></Name2>
			<Address>.</Address>
			<Address2></Address2>
			<City>NOVATE MILANESE</City>
			<Province>MI</Province>
			<ZIPCode>CAS20026</ZIPCode>
			<CountryCode>IT</CountryCode>
			<FiscalData>
				<VATCode>NUMERO C/C + CIN?</VATCode>
				<FiscalCode>AAA123</FiscalCode>
			</FiscalData>
		</CustomerNameAddress>
		<GoodsDestinationNameAddress>
			<Qualifier>CN</Qualifier>
			<Name>COMIFAR DISTRIBUZIONE S.P.A.</Name>
			<Name2></Name2>
			<Address>.</Address>
			<Address2>VIA TIBURTINA 1331</Address2>
			<City>ROMA</City>
			<Province>RM</Province>
			<ZIPCode>00131</ZIPCode>
			<CountryCode>IT</CountryCode>
		</GoodsDestinationNameAddress>
		<IssuerNameAddress>
			<Qualifier>II</Qualifier>
			<Name>COMIFAR DISTRIBUZIONE S.P.A.</Name>
			<Name2></Name2>
			<Address>.</Address>
			<Address2>VIA TIBURTINA 1331</Address2>
			<City>ROMA</City>
			<Province>RM</Province>
			<ZIPCode>00131</ZIPCode>
			<CountryCode>IT</CountryCode>
		</IssuerNameAddress>
		<InvoiceDestinationNameAddress>
			<Qualifier>DO</Qualifier>
			<Name>DO-COMIFAR DISTRIBUZIONE S.P.A.</Name>
			<Name2></Name2>
			<Address>Via dei mille</Address>
			<Address2></Address2>
			<City>NOVATE MILANESE</City>
			<Province>MI</Province>
			<ZIPCode>CAS20026</ZIPCode>
			<CountryCode>IT</CountryCode>
		</InvoiceDestinationNameAddress>
		<PaymentCondition>
			<ID></ID>
			<Qualifier>35</Qualifier>
			<Days>60</Days>
			<DueDate>2007-04-30</DueDate>
			<Description1>RCV.BANC.A 60GG FINE MESE</Description1>
			<Description2></Description2>
		</PaymentCondition>
		<DebitCreditInfo>
			<Qualifier>C</Qualifier>
			<AmountQualifier></AmountQualifier>
			<Amount>0.00000</Amount>
			<Percentage></Percentage>
			<DebitCreditDescription>047000005</DebitCreditDescription>
			<VATPercentage>00,00</VATPercentage>
			<TaxableAmount>0.00000</TaxableAmount>
			<TotalTaxAmount></TotalTaxAmount>
			<TaxExemption></TaxExemption>
		</DebitCreditInfo>
		<Detail>
			<Item>
				<ID>1</ID>
				<ProductID>5413760286822</ProductID>
				<ProductQualifier>EN</ProductQualifier>
				<NoteReference>1</NoteReference>
				<ItemReference>ADVA</ItemReference>
				<ProductDescription>TE 1000 UI</ProductDescription>
				<QtyQualifier>47</QtyQualifier>
				<Qty>20.000</Qty>
				<UmID>PCE</UmID>
				<ItemAmount>
					<Amount1>15000.00000</Amount1>
					<Amount2>15000.00000</Amount2>
				</ItemAmount>
				<ItemPrice>
					<PriceNet>750.00000</PriceNet>
					<PriceGross>0.00000</PriceGross>
				</ItemPrice>
				<ItemTax>
					<VATPercentage>00,00</VATPercentage>
					<AmountNet></AmountNet>
					<AmountTax></AmountTax>
					<Description></Description>
				</ItemTax>
				<ItemDocumentReference>
					<DocumentType>VV</DocumentType>
					<DocumentDate>2007-02-27</DocumentDate>
					<DocumentNumber>ItemReference.1</DocumentNumber>
				</ItemDocumentReference>
			</Item>
			<Item>
				<ID>2</ID>
				<ProductID>5413760286884</ProductID>
				<ProductQualifier>EN</ProductQualifier>
				<NoteReference>2</NoteReference>
				<ItemReference>ADVA</ItemReference>
				<ProductDescription>TE 1500 UI</ProductDescription>
				<QtyQualifier>47</QtyQualifier>
				<Qty>20.000</Qty>
				<UmID>PCE</UmID>
				<ItemAmount>
					<Amount1>22500.00000</Amount1>
					<Amount2>22500.00000</Amount2>
				</ItemAmount>
				<ItemPrice>
					<PriceNet>1125.00000</PriceNet>
					<PriceGross>0.00000</PriceGross>
				</ItemPrice>
				<ItemTax>
					<VATPercentage>00,00</VATPercentage>
					<AmountNet></AmountNet>
					<AmountTax></AmountTax>
					<Description></Description>
				</ItemTax>
			</Item>
			<Item>
				<ID>3</ID>
				<ProductID>5413760286884</ProductID>
				<ProductQualifier>EN</ProductQualifier>
				<NoteReference>2</NoteReference>
				<ItemReference>ADVA</ItemReference>
				<ProductDescription>TE 1500 UI</ProductDescription>
				<QtyQualifier>47</QtyQualifier>
				<Qty>20.000</Qty>
				<UmID>PCE</UmID>
				<ItemAmount>
					<Amount1>22500.00000</Amount1>
					<Amount2>22500.00000</Amount2>
				</ItemAmount>
				<ItemPrice>
					<PriceNet>1125.00000</PriceNet>
					<PriceGross>0.00000</PriceGross>
				</ItemPrice>
				<ItemTax>
					<VATPercentage>00,00</VATPercentage>
					<AmountNet></AmountNet>
					<AmountTax></AmountTax>
					<Description></Description>
				</ItemTax>
			</Item>
		</Detail>
		<EndOfSection>
		</EndOfSection>
		<Amount>
			<Amount1>37500.00000</Amount1>
			<Amount2>3750.00000</Amount2>
			<Amount3>41250.00000</Amount3>
			<Amount4></Amount4>
			<Amount5>2.00000</Amount5>
			<Amount6></Amount6>
		</Amount>
		<Tax>
			<VATPercentage>00,00</VATPercentage>
			<AmountNet>37500.00000</AmountNet>
			<AmountTax>3750.00000</AmountTax>
			<Description></Description>
		</Tax>
	</Document>
	<MessageFooter>
		<DocumentID>700000012</DocumentID>
		<DocumentCheck>24</DocumentCheck>
	</MessageFooter>
</INVOICMessage>



6. Bibliografia
---------------
Documenti rilasciati dal Centro Nazionale per lInformatica nella Pubblica
Amministrazione (CNIPA): [CN1] SPC, Sistema pubblico di cooperazione:
Architettura, Versione 1.0, CNIPA, 25 Novembre 2004. [CN2] SPC, Sistema
pubblico di cooperazione: Porta di Dominio, Versione 1.0, CNIPA, 14 Ottobre
2005

Documenti rilasciati dal W3C:
[W1] D. Box, D. Ehnebuske, G. Kakivaya, A. Layman, N. Mendelsohn, H. F. Nielsen,
S. Thatte, D. Winer, Simple Object Access Protocolo (SOAP) 1.1, W3C, 8 Maggio
2000 [W2] E. Christensen, F. Curbera, G. Meredith, S. Weerawarena, Web Services
Description Language (WSDL) 1.1, W3C, 15 Marzo 200

Leggi e decreti in materia fiscale
1 D.L. 1 Giugno 1994 n.357, art. 7_ Semplificazione di adempimenti e riduzione di
sanzioni per irregolarit formali
2. DL 1 giugno 1994, n. 357, art. 7-bis_ Modificazioni al codice civile ed altre
disposizioni in materia di scritture contabili
3. DPR 28 dicembre 2000, n. 445_ Testo unico delle disposizioni legislative e
regolamentari in materia di documentazione amministrativa
4. Direttiva 2001/115/CE_ Direttiva del Consiglio che modifica la direttiva
77/388/CEE al fine di semplificare, modernizzare e armonizzare le modalit di
fatturazione previste in materia di imposte sul valore aggiunto
5. DM 23 gennaio 2004_ Modalit di assolvimento degli obblighi fiscali relativi ai
documenti informatici ad alla loro riproduzione in diversi tipi di supporto
6. Delibera CNIPA 19 febbraio 2004, n. 11_ Regole tecniche per la riproduzione e
conservazione di documenti su supporto ottico idoneo a garantire la conformit
dei documenti agli originali  Articolo 6, commi 1 e 2, del testo unico delle
disposizioni legislative e regolamentari in materia di documentazione
amministrativa, di cui al decreto del Presidente della Repubblica 28 dicembre
2000, n. 445
7. D.Lgs. 20 febbraio 2004, n. 52_ Attuazione della direttiva 2001/115/CE che
semplifica e armonizza le modalit di fatturazione in materia di IVA
8. D.Lgs. 7 marzo 2005, n. 82_ Codice dellamministrazione digitale
9. Circolare dellAgenzia delle Entrate 45/E, 19 ottobre 2005
10. Circolare dellAgenzia delle Entrate 36/E, 6 dicembre 2006
11. Risoluzione n. 161/E, 9 luglio 2007
12. Risoluzione n. 267/E, 27 settembre 2007
